package com.shelpe.services.sinbadgateway.repository.jpa;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.shelpe.services.sinbadgateway.entity.jpa.Adgroup;

public interface AdgroupRepository extends PagingAndSortingRepository<Adgroup, Long> {

	int countByUserIDAndCampaignID(long userID, long campaignID);

	List<Adgroup> findByCampaignID(long campaignID);
}
